Elastic pendulum